package com.distribution.system.service;

import com.alibaba.fastjson2.JSONArray;
import com.baomidou.mybatisplus.extension.service.IService;
import com.distribution.system.domain.entity.AddressSystem;
import com.distribution.system.domain.vo.CityVO;
import com.distribution.system.domain.vo.TableArea;

import java.util.List;
import java.util.Map;

/**
 * @author: GodLu
 * @create: 2024-10-24 09:28
 * @description: TODO
 */
public interface AddressSystemService extends IService<AddressSystem> {
    String getProvinceCodeByName(String provinceName);

    String getProvinceNameByCode(String provinceCode);

    String getCityCodeByName(String cityName);

    String getCityNameByCode(String cityCode);

    String getDistrictCodeByName(String districtName);

    String getDistrictNameByCode(String districtCode);

    JSONArray getPickerAreaMap(String productParam);

    List<TableArea> getSystemAddressList();

    Map<String,String> getProvinceMap(String productCode);

    List<CityVO> getCityList(String productCode);

    Map<String, Object> selectArea(String productParam);
}
